# -*- coding: utf-8 -*-
"""
Spyder Editor

This is a temporary script file.
"""
#if else 的运用满100打9折，200打85折
b=2.0
l=1.5
hy = '1'
x = input('要买多少萝卜')
y = input('要买多少白菜')
x = float(x)
y = float(y)
z = (x*l)+(y*b)
print("请问有会员吗")
hyh = input("有会员请输入会员号没有请跳过")
if hyh == hy:
   if z>=100:
            r=z*0.9
   elif z>=200:
            r=z*8.85
z=int(z)
print("一共",z)
if hyh == hy:
    print('您是尊贵的会员\n价格100元以上9折\n价格200元以上8.5折\n会员价一共',r)